package com.android.lmy.LitePalDemo;

import org.litepal.crud.LitePalSupport;

/**
 * @功能:
 * @Creat 2020/1/8 13:57
 * @User Lmy
 * @Compony JinAnChang
 */
public class Movie extends LitePalSupport {
    private String name;
    private String length;
    private int id;

    private String userid;

    public Movie(String name, String length, String userid) {
        this.name = name;
        this.length = length;
        this.userid = userid;
    }

    public Movie() {
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getLength() {
        return length;
    }

    public void setLength(String length) {
        this.length = length;
    }

    @Override
    public String toString() {
        return "Movie{" +
                "name='" + name + '\'' +
                ", id=" + id +
                ", length='" + length + '\'' +
                ", userid='" + userid + '\'' +
                '}';
    }
}
